home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14436 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.6 KB  |  62 lines

  1. Newsgroups: comp.lang.c
  2. Path: netcom.com!smryan
  3. From: smryan@netcom.com (@#$%!?!)
  4. Subject: Re: Pondering this forever..
  5. Message-ID: <smryanDpuCvz.BsC@netcom.com>
  6. Organization: The Programmer formerly known as S M Ryan
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. References: <4koj8q$1mlm@darwin.nbnet.nb.ca>
  9. Date: Sun, 14 Apr 1996 07:31:11 GMT
  10. Sender: smryan@netcom13.netcom.com
  11.  
  12. : windows programming.  I have always wondered what they use to write in
  13. : windows.  Example, windows.h ?  i dont know, i would really like to
  14. : know information on that.. ?
  15.  
  16. You won't find very much in a C book, because Windows (or X or Mac
  17. Toolbox) are not C. You can write your windows code in C, C++, Fortran,
  18. Lisp, Smalltalk, assembler, etc.
  19.  
  20. You will need another book for Windows. (Or books, more likely.) 
  21.  
  22. There should be a comp.* devoted to windows where you can more focussed
  23. answers.
  24.  
  25. :     Also, tcp/ip, how would one go about knowing how to refer to an ip
  26. : address, or anything that has to do with tcp/ip ?   Is there a
  27. : standard file, with rules of TCp/ip out on the net somewhere?  I
  28.  
  29. Again, TCP/IP or X.25 or ATM or whatever is not C, and you do not have to
  30. write C to do network code. How you actually get access to the network and
  31. start sending and receiving packets depends on your system. On Unix, you
  32. open a socket. On DOS, ???. The system interface will probably let you
  33. specify a destination address and the message contents, and it will take
  34. care of wrapping the message with headers, validation, sequencing, etc.
  35.  
  36. You can get the address magically, have the user type it in, hard code
  37. it, or send a message to a name server. 
  38.  
  39. There are usually rules concerning the message contents, such as FTP or
  40. Telnet protocols. These rules are coverred in rules called rfc (request
  41. for comments) which are stored somewhere on the net. I don't remember at
  42. the moment.
  43.  
  44. Caution: do not debug network programs on the internet. Use an isolated
  45. network. Or risk the wrath of god.
  46.  
  47. Again, if you can a more specific comp.* group, the answers will be more
  48. focussed.
  49.  
  50. :     The next question goes for DOS/4gw.exe or something like that, the
  51. : real time file used by doom.  Do these files come with a TXT
  52. : explaining how to use them ?
  53.  
  54. You might have to ask ID Software. They might refuse to tell you. You can
  55. also ftp to PC archives on the internet and spelunk in their games section.
  56.  
  57. -- 
  58. The Queen, amused, in quiet power,         | smryan@netcom.com  PO Box 1563
  59. will draw the son to darkenned bower.      |          Cupertino, California
  60. Her face is fair, her fragrance rare,      | (xxx)xxx-xxxx            95015
  61. with woven webs for wayward flower.        |         I don't use no smileys
  62.